package com.howie.parnote.module;

import java.util.Date;

public class EmailRecordModule {

	public enum EmailType {
		CONFIRM_EMAIL("CO"), PASSWORD_CHANGE_EMAIL("PC");
		private String value;

		private EmailType(String value) {
			this.value = value;
		}

		public String getValue() {
			return value;
		}
	}

	public enum Status {
		UNCONFIRMED("UN"), CONFIRMED("CO");

		private String value;

		private Status(String value) {
			this.value = value;
		}

		public String getValue() {
			return value;
		}
	}

	private Integer emailRecordId;

	private Integer sharerId;

	private String emailType;

	private Date sendTime;

	private String emailStatus;

	public Integer getEmailRecordId() {
		return emailRecordId;
	}

	public void setEmailRecordId(Integer emailRecordId) {
		this.emailRecordId = emailRecordId;
	}

	public Integer getSharerId() {
		return sharerId;
	}

	public void setSharerId(Integer sharerId) {
		this.sharerId = sharerId;
	}

	public String getEmailType() {
		return emailType;
	}

	public void setEmailType(String emailType) {
		this.emailType = emailType == null ? null : emailType.trim();
	}

	public Date getSendTime() {
		return sendTime;
	}

	public void setSendTime(Date sendTime) {
		this.sendTime = sendTime;
	}

	public String getEmailStatus() {
		return emailStatus;
	}

	public void setEmailStatus(String emailStatus) {
		this.emailStatus = emailStatus == null ? null : emailStatus.trim();
	}
}